package com.hollycrm.unicom.sheet.query.web;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.InvocationTargetException;
import com.hollycrm.springframework.web.struts.DispatchActionSupport;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */

public class QueryTaskAction
    extends DispatchActionSupport {
    public QueryTaskAction() {
    }

    public ActionForward execDefault(ActionMapping mapping,
                                     ActionForm actionform,
                                     HttpServletRequest request,
                                     HttpServletResponse response) throws Exception{
        QuerySheetActionForm form = (QuerySheetActionForm)actionform;
        String a = String.valueOf(form.getQueryType());
        System.out.println("a is:"+String.valueOf(form.getQueryType()));
        return mapping.findForward("success");
    }
}